package bootstrap

import (
	"card/pkg/config"
	"card/pkg/logger"
)

func SetupLogger() {
	logger.NewLog(
		config.GetString("log.log_path"),
		config.GetInt("log.max_size"),
		config.GetInt("log.max_backup"),
		config.GetBool("log.compress"),
		config.GetString("log.type"),
		config.GetString("log.level")).InitLogger()
}
